package com.ruoyi.shop.api.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 用户车辆对象 car_info
 *
 * @author ruoyi
 * @date 2025-02-24
 */
public class CarInfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;

	/** 商家活动表id编号 */
	private Long id;

	/** 用户id */
	@Excel(name = "用户id")
	private Long uid;

	/** 车牌号 */
	@Excel(name = "车牌号")
	private String carNum;

	/** 车辆照片 */
	@Excel(name = "车辆照片")
	private String carImg;

	/** 车型(品牌+类型) */
	@Excel(name = "车型(品牌+类型)")
	private String type;

	/** 删除状态  0-正常  1-删除 */
	@Excel(name = "删除状态  0-正常  1-删除")
	private Long del;

	/** 是否默认  1-默认  0-非默认
	 */
	@Excel(name = "是否默认  1-默认  0-非默认 ")
			private Long isDefault;

			public void setId(Long id)
	{
		this.id = id;
	}

	public Long getId()
	{
		return id;
	}
	public void setUid(Long uid)
	{
		this.uid = uid;
	}

	public Long getUid()
	{
		return uid;
	}
	public void setCarNum(String carNum)
	{
		this.carNum = carNum;
	}

	public String getCarNum()
	{
		return carNum;
	}
	public void setCarImg(String carImg)
	{
		this.carImg = carImg;
	}

	public String getCarImg()
	{
		return carImg;
	}
	public void setType(String type)
	{
		this.type = type;
	}

	public String getType()
	{
		return type;
	}
	public void setDel(Long del)
	{
		this.del = del;
	}

	public Long getDel()
	{
		return del;
	}
	public void setIsDefault(Long isDefault)
	{
		this.isDefault = isDefault;
	}

	public Long getIsDefault()
	{
		return isDefault;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
				.append("id", getId())
				.append("uid", getUid())
				.append("carNum", getCarNum())
				.append("carImg", getCarImg())
				.append("type", getType())
				.append("del", getDel())
				.append("isdefault", getIsDefault())
				.toString();
	}
}
